#define  _CRT_SECURE_NO_WARNINGS
#include "list.h"

int main()
{
	jc::list<int> lt1;

	lt1.push_back(1);
	lt1.push_back(1);//
	lt1.push_back(1);
	lt1.push_back(1);


	jc::list<int>::iterator it1 = lt1.begin();
	while (it1 != lt1.end())
	{
		cout << *it1 << " ";
		it1++;
	}

	return 0;
}